//
//  SoundController.h
//  MathMasterMain
//
//  Created by Jimmy Hahm on 10-04-05.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//
//  This class plays sound and music

#import <Foundation/Foundation.h>
#import <AVFoundation/AVAudioPlayer.h>


@interface SoundController : NSObject {
	
	AVAudioPlayer *music;//plays music
	NSMutableArray *sounds;//stores sounds to be played
	

}

-(void) initSoundController;
-(void) addSound:(NSString*)name filetype:(NSString*)type;
-(void) playSound:(int)soundNum;
-(void) setMusic:(NSString*)name filetype:(NSString*)type;
-(void) playMusic;
-(void) pauseMusic;
-(void) resetMusic;


@end
